Skip to content

deduplicate properties by name#92

Open
ianroy-opslevel wants to merge 1 commit intomainfrom
ianroy/deduplicate_properties_by_name
Open

deduplicate properties by name#92
ianroy-opslevel wants to merge 1 commit intomainfrom
ianroy/deduplicate_properties_by_name

Conversation

@ianroy-opslevel
Copy link
Contributor

Custom Properties are created on a per componentType basis. It's expected that custom properties with the same alias have the same schema. When converting tags to custom properties, it's assumed that componentTypes with the tags also have the required custom property defined.

This deduplicates the list of custom properties shown for the user to select from.

return properties


def deduplicate_properties_by_name(properties):
Copy link
Contributor

@Farjaad Farjaad Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we de-dup by alias instead? that's what we do in the frontend of our app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants